package org.groovyflow.util;

public class Lower {
	
	private Lower(){}
	
	public static String getString(Object key){
		if(! (key instanceof String))
			throw new IllegalArgumentException("All keys must be Strings");
		return(String) key;
	}
	
	public static String lower(Object key){
		return getString(key).toLowerCase();
	}	
	

}
